<template xmlns="http://www.w3.org/1999/html">
  <div>
    <div v-for="(item,index) in result">
      <el-select v-model="item.value" :clearable=true filterable placeholder="逻111辑运算符">
        <el-option v-for="t in reValueOperatorList" :label="t.name+' '+t.value" :value="t.value" :key="t.value"/>
      </el-select>
    </div>
  </div>
</template>

<script>

export default {
  name: 'resultPart',
  props: {
    result: {
      type: Array
    }
  },
  data() {
    return {
      reValueOperatorList: [
        {name: "赋值", value: "="},
        {name: "减少", value: "-="},
        {name: "增加", value: "+="}]
    }
  }
}
</script>

<style>
.float-left {
  float: left;
  margin-right: 20px;
}

.ele-left {
  width: 300px;
  text-align: left
}
</style>
